package com.mk.admin.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_admin")
public class AdminEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String nickName;
    private String sex;
    private String phone;
    private String email;
    private String password;
    private String headPath;
    private Integer status;
    private String createTime;
    private String updateTime;
    @TableField(exist = false)
    private String orderBy;
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer size;
}
